var shopCartData;
  wx.request({
    url: 'http://ptd.china-mail.com.cn/putaotang/api/v1/goods/lookShoppingCart', //接口地址
    // url: 'https://ptd.china-mail.com.cn/{wx8965cee14d79c027}/{0}/putaotang/api/v1/goods/lookShoppingCart', //接口地址
    data: {
      token: '38a55154ef8a1a400db888dca5222640ac'
    },
    method: 'GET',
    dataType: 'json',
    header: {
      'content-type': 'application/json'
    },
    success: function (res) {
      console.log('suc', res)
      shopCartData = res;
    },
    fail: function (err) {
      console.log('err', err);
    }, complete: function (data) {
       console.log('shopCartDatajs', shopCartData)  
    }
  })
